package com.his.dictuserdef.service;

import com.his.dictuserdef.entity.DictUserdefCategory;
import com.his.dictuserdef.entity.DictUserdefCategory_Detailed;
import com.his.dictuserdef.vo.DictUserdefCategoryVo;

import java.util.List;

public interface DictUserdefCategoryService {
    /**
     * 添加分类项
     */
    void insert(DictUserdefCategoryVo dictUserdefCategoryVo);
    /**
     * 修改分类项
     */
    void update(DictUserdefCategoryVo dictUserdefCategoryVo);
    /**
     * 删除分类项
     */
    void delete(String id);

    /**
     *查询所有分类
     */
    List<DictUserdefCategory_Detailed> selectAll(String hospid);

    /**
     *通过Key查询分类型
     */
    DictUserdefCategory selectByKey(String id);
}
